package com.burntsky.xbmc.android;


import java.util.ArrayList;

import org.xbmc.api.object.TvShow;

import android.app.Fragment;
import android.app.ListFragment;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;

public class TvDetailsFragment extends Fragment {

	private XbmcController _Controller;
	
	public TvDetailsFragment(XbmcController controller){
		this._Controller = controller;
	}
	
	/* (non-Javadoc)
	 * @see android.app.ListFragment#onActivityCreated(android.os.Bundle)
	 */
	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);

	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		//return super.onCreateView(inflater, container, savedInstanceState);
		View view1 = inflater.inflate(R.layout.tv_details_fragment, container);
		//view.findViewById(id)
		//return view;
		TextView view = new TextView(this.getActivity());
		view.setText("asdfasdfasdfasdf");
		return view1;
	
	}
	
	public void Update(String title){
		((TextView)this.getView()).setText(title);
	}


}
